import { createApp } from 'vue'
import { createPinia } from 'pinia'

import './app.scss'

// 引入全部组件
import TaroUI from 'taro-ui-vue'
import 'taro-ui-vue/dist/style/index.scss'

const App = createApp({
  onShow(options) {
  },
  // 必须实现 render 方法，即使 taro 会覆盖
  render() {
    return this.$slots.default()
  }
})

App.use(createPinia())

App.use(TaroUI);

export default App
